package com.macauscholar.app

/**
 *  package : zhiyi.com.teacher_app
 *  author : zhiyi
 *  date : 13/10/2020 6:24 PM
 *  project : android
 *  description :
 */
import android.content.Context
import android.util.Log
import androidx.work.Worker
import androidx.work.WorkerParameters


class MyWorker(appContext: Context, workerParams: WorkerParameters) : Worker(appContext, workerParams) {
    override fun doWork(): Result {
        Log.d(TAG, "Performing long running task in scheduled job")
        // TODO(developer): add long running task here.
        return Result.success()
    }

    companion object {
        private const val TAG = "MyWorker"
    }
}